﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model
{
    [Serializable]
    public class Oil
    {
        public Oil()
        { }
        #region Model
        private int _id;
        private string _carcode;
        private Int64 _km;
        private DateTime _time;
        private string _addr;
        private decimal _price;
        private int _num;
        private decimal _heji;
        private string _marks;
        private int _inputuserid;
        private DateTime _inputtime;
        /// <summary>
        /// 
        /// </summary>
        public int Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 预约表Reserve
        /// </summary>
        public string CarCode
        {
            set { _carcode=value;}
            get { return _carcode;}
        }
        /// <summary>
        /// 公里数
        /// </summary>
        public Int64 Km
        {
            set { _km = value; }
            get { return _km; }
        }
        /// <summary>
        /// 加油时间
        /// </summary>
        public DateTime Time
        {
            set { _time = value; }
            get { return _time; }
        }
        /// <summary>
        /// 加油地址
        /// </summary>
        public string Addr
        {
            set { _addr = value; }
            get { return _addr; }
        }
        /// <summary>
        /// 单价
        /// </summary>
        public decimal Price
        {
            set { _price = value; }
            get { return _price; }
        }
        /// <summary>
        /// 数量
        /// </summary>
        public int Num
        {
            set { _num = value; }
            get { return _num; }
        }
        /// <summary>
        /// 合计费用
        /// </summary>
        public decimal Heji
        {
            set { _heji = value; }
            get { return _heji; }
        }
        /// <summary>
        /// 备注
        /// </summary>
        public string Marks
        {
            set { _marks = value; }
            get { return _marks; }
        }
        /// <summary>
        /// 录入人ID
        /// </summary>
        public int InputUserId
        {
            set { _inputuserid = value; }
            get { return _inputuserid; }
        }
        /// <summary>
        /// 录入员名字
        /// </summary>
        public string InputTrueName { get; set; }
        /// <summary>
        /// 录入时间
        /// </summary>
        public DateTime InputTime
        {
            set { _inputtime = value; }
            get { return _inputtime; }
        }
        #endregion Model

    }
}
